home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / glibc108.zip / glibc108 / sysdeps / generic / configure < prev    next >
Text File  |  1994-05-19  |  1KB  |  53 lines

  1. # This file is generated from configure.in by Autoconf.  DO NOT EDIT!
  2.  
  3.  
  4. if [ ! "$inhibit_glue" ]; then
  5.  
  6. # For signame.c, used in make_siglist.
  7. for ac_func in psignal
  8. do
  9. ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  10. echo "checking for ${ac_func}" 1>&4
  11. if eval "test \"`echo '${'ac_cv_func_${ac_func}'+set}'`\" = set"; then
  12.   echo "    using cached value for ac_cv_func_${ac_func}" 1>&5
  13. else
  14.   cat > conftest.${ac_ext} <<EOF
  15. #include "confdefs.h"
  16. #include <ctype.h>
  17. int main() { return 0; }
  18. int t() { 
  19. /* The GNU C library defines this for functions which it implements
  20.     to always fail with ENOSYS.  Some functions are actually named
  21.     something starting with __ and the normal name is an alias.  */
  22. #if defined (__stub_${ac_func}) || defined (__stub___${ac_func})
  23. choke me
  24. #else
  25. /* Override any gcc2 internal prototype to avoid an error.  */
  26. extern char ${ac_func}(); ${ac_func}();
  27. #endif
  28. ; return 0; }
  29. EOF
  30. if eval $ac_compile; then
  31.   rm -rf conftest*
  32.   eval "ac_cv_func_${ac_func}=yes"
  33. else
  34.   rm -rf conftest*
  35.   eval "ac_cv_func_${ac_func}=no"
  36. fi
  37. rm -f conftest*
  38.  
  39. fi
  40. if eval "test \"`echo '$ac_cv_func_'${ac_func}`\" = yes"; then
  41.   
  42. {
  43. test "$verbose" = yes && \
  44. echo "    defining ${ac_tr_func}"
  45. echo "#define" ${ac_tr_func} "1" >> confdefs.h
  46. DEFS="$DEFS -D${ac_tr_func}=1"
  47. }
  48.  
  49. fi
  50. done
  51.  
  52. fi
  53.